home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-03-28 | 1.3 KB | 54 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\System\DOS"
- "NAME"="DOS AutoComplete"
- "VERSION"="1.53"
- "LANGUAGE"="VBScript"
- "OSVERSION"="01010"
- "TEXT 1"="Activate DOS-AutoComplete"
- "DESCRIPTION 1"="If this option is activated, you can use the TAB key in a CMD-Box (cmd.exe) to AutoComplete your current command."
- "DESCRIPTION 2"="It's similar to the AutoComplete function of Internet Explorer."
- "DESCRIPTION 3"="Note: This setting is currently available in Windows NT or 2000 only."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sp="HKCU\Software\Microsoft\Command Processor\CompletionChar"
- sp2="HKCU\Software\Microsoft\Command Processor\EnableExtensions"
- Sub Plugin_Initialize
- if RegPathExists("HKCU\Software\Microsoft\Command Processor\") then
- if RegReadValue(sp)=9 and RegReadValue(sp2)=1 then
- SetUIElement 1,true
- end if
- else
- Disable
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sp,9,2)
- Call RegWriteValue(sp2,1,2)
- else
- Call RegWriteValue(sp,0,2)
- Call RegWriteValue(sp2,0,2)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-